const removeEventListeners=()=>{
  document.oncopy = null;
  document.oncut = null;
  document.onpaste = null;
  document.oncontextmenu = null;
  document.onselectstart = null;
  document.onmousedown = null;
  document.onmouseup = null;
  document.body.oncopy = null;
  document.body.oncut = null;
  document.body.onpaste = null;
  document.body.oncontextmenu = null;
  document.body.onselectstart = null;
  document.body.onmousedown = null;
  document.body.onmouseup = null;
  document.addEventListener('copy', (e) => e.stopPropagation(), true);
  document.addEventListener('cut', (e) => e.stopPropagation(), true);
  document.addEventListener('paste', (e) => e.stopPropagation(), true);
  document.addEventListener('contextmenu', (e) => e.stopPropagation(), true);
  document.addEventListener('selectstart', (e) => e.stopPropagation(), true);
  document.addEventListener('mousedown', (e) => e.stopPropagation(), true);
  document.addEventListener('mouseup', (e) => e.stopPropagation(), true);
}
const enableUserSelect=()=>{
  const style = document.createElement('style');
  style.type = 'text/css';
  style.innerHTML = '* { -webkit-user-select: auto !important; -moz-user-select: auto !important; -ms-user-select: auto !important; user-select: auto !important; }';
  document.head.appendChild(style);
}

const enable_copy=()=>{
  removeEventListeners()
  enableUserSelect()
  // disslogin()
}
(function () {
  enable_copy()
})();
